ExamPlay Light Logo
로그인

Computer Science for IGCSE & O level - Programming (Section 11 - No. 27)

In the Totaling example, how is the variable 'TotalWeight' updated?
TotalWeight = Weight
TotalWeight = TotalWeight - Weight
TotalWeight = TotalWeight + Weight
TotalWeight = Weight - TotalWeight

설명

TotalWeight accumulates the sum with each iteration.

댓글 (0)

댓글을 달려면 로그인하세요
광고
BrainBehindX Inc Logo
©2026; 에 의해 구동 BrainBehindX Inc